body{
 max-width: 540px;
 min-width: 320px;
 margin: 0 auto;
 color: #000;
 background-color: #f2f2f2;
 overflow-x: hidden;
}

/* 搜索模块 */
.search-index{
    /* 固定定位与父亲没有关系 与屏幕为准 */
    max-width: 540px;
    min-width: 320px;
    position: fixed;
    top: 0;
    left:50%;
    transform:translateX(-50%);
    width: 100%;
    height: 44px;
    display: flex;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom:1px solid #ccc ;
}

.search{
  position: relative;
  flex: 1;
  height: 26px;
  border: 1px solid #cccccc;
  margin: 7px 10px;
  border-radius: 5px;
  font-size: 12px;
  color: #666;
  line-height: 24px;
  padding-left: 25px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2)
}

.search::before{
   content: "";
   position: absolute;
   top: 5px;
   left: 5px;
   width: 15px;
   height: 15px;
   background: url(./images/sprite.png) no-repeat -59px -279px;
   background-size: 104px auto;
}

div{
    box-sizing: border-box;
}

.user{
    width: 44px;
    height: 44px;
    font-size: 10px;
    text-decoration: none;
    color: #2eaae0;
    text-align: center;
}

.user::before{
   content: "";
   display: block;
   width: 23px;
   height: 23px;
   background: url(./images/sprite.png) no-repeat -59px -194px;
   background-size: 104px auto;
   margin: 5px auto 0;
}

.focus{
    padding-top: 44px;
}

.focus img{
    width: 100%;
}


/* 局部导航栏 */
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.local-nav{
  display: flex;
  height: 64px;
  background-color: #fff;
  margin: 3px 4px;
  border-radius: 8px;
}

.local-nav li{
    flex: 1;
}

a{
    text-decoration: none;
    color: #222;
}

.local-nav a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;    
}

.local-nav li [class^="local-nav-icon"]{
   width: 32px;
   height: 32px;
   background-color: pink;
   margin-top: 8px;
   background:url(./images/localnav_bg.png) no-repeat 0 0;
   background-size: 32px auto;
}

.local-nav li .local-nav-icon-icon2{
    background-position: 0 -32px;
}

.local-nav li .local-nav-icon-icon3{
    background-position: 0 -64px;
}

.local-nav li .local-nav-icon-icon4{
    background-position: 0 -96px;
}

.local-nav li .local-nav-icon-icon5{
    background-position: 0 -128px;
}

/* nav */

nav{
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}

.nav-common{
    display: flex;
    height: 88px;
    background-color: pink;
}

.nav-items{
    flex: 1;
    display: flex;
    flex-direction: column;
}



.nav-items a{
    text-align: center;
    line-height: 44px;
    font-size: 14px;
    flex: 1;
    color: #fff;
    text-shadow: 1px 1px rgba(0,0,0,0.2);
}

.nav-items a:nth-child(1){
    border-bottom: 1px solid #fff;
}

.nav-items:nth-child(1) a:nth-child(1){
    border-bottom:0;
    background: url(./images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav-items:nth-child(-n+2){
    border-right: 1px solid #fff;
}

.nav-common:nth-child(2){
    margin: 3px 0;
}


.nav-common:nth-child(1){
    background: -webkit-linear-gradient(left,#FA5A55,#FA994D);
}

.nav-common:nth-child(2){
    background: -webkit-linear-gradient(left,#4391F1,#49B3EF);
}

.nav-common:nth-child(3){
    background: -webkit-linear-gradient(left,#2BB3A2,#61C255);
}

/* subnav-entry */

.subnav-entry{
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    display: flex;
    flex-wrap: wrap;
}

.subnav-entry li{
    flex: 20%;
}

.subnav-entry a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.subnav-entry-icon{
   margin-top: 4px;
   width: 28px;
   height: 28px;
   background-color: pink;
   background: url(./images/subnav-bg.png) no-repeat;
   background-size: 28px auto;
}

/* 销售模块 */

.sales-box{
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
}

.sales-hd{
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}

.sales-hd h2{
    position: relative;
    text-indent: -999px;
    overflow: hidden;

}

.sales-hd h2::after{
    position: absolute;
    content: "";
    top: 8px;
    left: 20px; 
    width: 79px;
    height: 15px;
    background:url(./images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}

.sales-hd a{
    font-size: 12px;
    position: absolute;
    top: 8px;
    right: 5px;
    background:-webkit-linear-gradient(left,#FF506C,#FF6BC6);
    border-radius: 15PX;
    padding: 3PX 20PX 3PX 10PX;
    color:#fff;
}

A::after{
    content: "";
    position: absolute;
    top: 7px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    color:#fff;
}


.row{
    display: flex;
}

.row a{
    flex: 1;
    border-bottom: 1px solid #eee;
}

.row a:nth-child(1){
    border-right: 1px solid #eee;
}


.row a img{
    width: 100%;
}


.fotterimg{
    width: 17px;
    height: 17px;  
    background:url(./images/sprite.png) no-repeat -59px -114px;
    margin: 3px 0 2px 0; 
    background-size: 104px auto ;
}

.fotter{
    display: flex;
    margin: 3px 4px;
    background-color: #fff;
}

.fotter .fotterbox{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fotterz{
    color: #666;
    font-size: 12px;
}